<template>
  <div>
    <el-steps :active="presentStep" simple>
      <el-step v-for="(item, index) of steps" :key="index" :title="item" icon="el-icon-edit"></el-step>
    </el-steps>
  </div>
</template>
<script>
import { Steps, Step } from 'element-ui';
export default {
  name: 'resolve-step',
  components: {
    [Steps.name]: Steps,
    [Step.name]: Step
  },
  props: {
      steps: Array,
      presentStep: {
          type: Number,
          default: 0
      }
  }

}
</script>
<style lang="stylus" scoped></style>